###out:src/main/java/${config.packageName?replace(".","/")}/dao/${root.beanName}DAO.java

package ${config.packageName}.dao;

import ${config.packageName}.dao.jpa.${root.beanName}Repository;
import ${config.packageName}.dao.mybatis.${root.beanName}Mapper;
import ${config.packageName}.entity.${root.beanName};
import com.zzb.framework.common.BaseDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * ${root.tableComment} Dao接口
 */
@Repository
public class ${root.beanName}DAO extends BaseDAO<${root.beanName},${root.beanName}Repository> {
    @Autowired
    private ${root.beanName}Repository ${root.beanName?uncap_first}Repository;
    @Autowired
    private ${root.beanName}Mapper ${root.beanName?uncap_first}Mapper;

    @Override
    public ${root.beanName}Repository getRepository() { return ${root.beanName?uncap_first}Repository; }

    public ${root.beanName}Mapper getMapper() { return ${root.beanName?uncap_first}Mapper; }

}
